package com.joysuch.wwyt.dzhapi.mapper;

import com.joysuch.wwyt.bp.entity.BpEnterpriseInfo;
import com.joysuch.wwyt.dzhapi.bean.ApiBpEnterpriseInfoBean;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author JamesZY
 * @since 2021-12-07
 */
public interface ApiBpEnterpriseInfoMapper extends BaseMapper<ApiBpEnterpriseInfoBean> {

    ApiBpEnterpriseInfoBean findByCompanyName(String name, Long tenentId, String orgCode);

    ApiBpEnterpriseInfoBean findByCompanyNameAndTenentId(String name, Long tenentId);
}
